package org.yang.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.yang.util.Column;

import java.time.LocalDateTime;

/**
 * @author yang
 * @date 2024-04-25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    @Column("u_id")
    private int id;
    @Column("u_username")
    private String username;
    @Column("u_password")
    private String password;
    @Column("u_level")
    private String level;
    @Column("u_image")
    private String image;
    @Column("u_phone")
    private String phone;
    @Column("u_email")
    private String email;
    @Column("u_registerTime")
    private LocalDateTime registerTime;
    @Column("u_status")
    private int status;

}
